@extends('layouts.admin.application')

@section('content')
    <div class="main-content">
        <div class="col-xs-12">
            <div class="breadcrumbs" id="breadcrumbs">
                <ul class="breadcrumb">
                    <li><i class="icon-home home-icon"></i><a href="#">首页</a></li>
                    <li><a href="{{ route('cashier.brand.index') }}">品牌管理</a></li>
                    <li class="active">新增品牌</li>
                </ul>
            </div>

            @include('layouts.partials._flash')

            <form class="form-horizontal" role="form" action="{{ route('cashier.brand.store') }}" method="post"
                  style="margin-top: 10px;">

                {{csrf_field()}}

                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">品牌名称</label>

                    <div class="col-sm-9">
                        <input type="text" name="name" placeholder="品牌名称，你懂得~" class="col-xs-10 col-sm-5">
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">品牌链接</label>

                    <div class="col-sm-9">
                        <input type="text" name="url" class="col-xs-10 col-sm-5">
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">是否显示</label>

                    <div class="col-sm-9">
                        <div class="radio" style="">
                            <label>
                                <input name="is_show" type="radio" class="ace" value="1">
                                <span class="lbl"> 是</span>
                            </label>
                            <label>
                                <input name="is_show" type="radio" class="ace" value="0">
                                <span class="lbl"> 否</span>
                            </label>
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #08c;">是否显示此品牌</span>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">排序</label>

                    <div class="col-sm-9">
                        <input type="text" name="sort_order" class="col-xs-10 col-sm-5">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">品牌描述</label>

                    <div class="col-sm-9">
                        <textarea id="description" name="description" cols="47" rows="7"></textarea>

                    </div>
                </div>

                <div class="clearfix form-actions">
                    <div class="col-md-offset-3 col-md-9">
                        <button class="btn btn-info" type="submit"><i class="icon-ok bigger-110"></i>保存</button>
                        &nbsp; &nbsp; &nbsp;
                        <a class="btn" onclick="javascript:history.back(-1);return false;"><i
                                    class="icon-undo bigger-110"></i>返回</a>
                    </div>
                </div>
            </form>
        </div>

    </div>
@endsection

@section('js')

@endsection